feat(cli): restructure CLI commands for simpler UX#156
Merged
Conversation
e4ee5bb to
1eca569
Compare
pimlock
approved these changes
Mar 6, 2026
6c4f64e to
c64f754
Compare
Restructure the nemoclaw CLI to flatten deeply nested subcommands and improve discoverability. Key changes: - Promote sandbox operations to top level: status, forward, logs, policy - Add gateway subcommand (start, stop, select, list) replacing cluster admin - Replace --sync with --upload <local>[:<remote>] supporting .gitignore filtering - Add sandbox upload/download subcommands for file transfer - Add gateway select (no-arg shows available gateways) - Graceful handling when no gateway is configured (nemoclaw status) - Hidden backwards-compat alias for cluster admin deploy with deprecation warning - Update all documentation, examples, e2e tests, and agent skills Closes #114
c64f754 to
046f3d3
Compare
5 tasks
drew
added a commit
that referenced
this pull request
Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restructures the
nemoclawCLI to flatten deeply nested subcommands and improve discoverability, implementing all items from #114.nemoclaw status,forward,logs,policynow work directly instead of requiringsandboxprefixnemoclaw gateway start|stop|select|listreplacingcluster admin deploy|destroy|select|list; hidden backwards-compat alias forcluster admin deploywith deprecation warning--upload <local>[:<remote>]with.gitignorefiltering by default (--no-git-ignoreto disable); newsandbox upload/downloadsubcommands for file transfernemoclaw statusprints a friendly message instead of erroring when no gateway is configuredgateway selectwithout args lists available gateways with a hint to rungateway select <name>Command mapping (old → new)
cluster admin deploygateway startcluster admin destroygateway stopcluster admin selectgateway selectcluster admin listgateway listsandbox statusstatussandbox forwardforwardsandbox logslogssandbox policy get|setpolicy get|setsandbox create --syncsandbox create --upload <path>[:<remote>]sandbox upload <name> <path>sandbox download <name> <remote> [local]Files changed (22 files, +836 −579)
Core implementation:
main.rs(enum restructure, routing,parse_upload_spec()),run.rs(signature changes, public helpers),bootstrap.rs(error messages)Documentation: README, 6 architecture docs, 4 agent skills, 4 examples, 4 e2e tests/scripts
Testing
parse_upload_spec_*(3 tests),sandbox_upload_uses_path_value_hint,sandbox_upload_completion_suggests_local_pathsCloses #114